﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LoginPQ.aspx.cs" Inherits="IYAKASAPortal.Login.LoginPQ" %>

<%@ Register src="LoginedList.ascx" tagname="LoginedList" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>排放登录</title>
    <script type="text/javascript" src="../script/jquery-3.2.1.min.js"></script>
    <link type="text/css" rel="Stylesheet" href="../support/tfNiceTable/tfNiceTable.css" />
    <script type="text/javascript" src="../support/tfNiceTable/tfNiceTable.js"></script>
    <script type="text/javascript" src="../script/jquery.select.js"></script>
</head>
<body style="overflow-y: auto">
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:HiddenField runat="server" ID="hidID" />
                 <asp:HiddenField runat="server" ID="hidKeyValue" />
                <table border="0" width="100%" cellpadding="0" cellspacing="0" style="height: 25px; table-layout: fixed">
                    <tr>
                        <td class="main_title_left"></td>
                        <td class="main_title_center" style="text-align: left">&nbsp;成都弥荣科技发展有限公司--排放登录</td>
                        <td class="main_title_right"></td>
                    </tr>
                </table>
                <table width="100%" cellpadding="0" cellspacing="0" border="0" class="mainWidth">
                    <tr>
                        <td align="center">
                            <table border="1" cellspacing="0" cellpadding="3" class="tfNiceTable" style="table-layout: auto">
                                <thead>
                                    <tr class="tfNiceTable_head_style">
                                        <td colspan="4" align="left">★排放登录</td>
                                    </tr>
                                </thead>
                                <tbody style="background-color: white;" >
                                    <tr>
                                        <td align="right">检测类别</td>
                                        <td align="left">
                                            <asp:DropDownList ID="drpJCLB" runat="server">
                                            </asp:DropDownList>
                                        </td>
                                        <td align="right" style="width: 15%">号牌颜色</td>
                                        <td align="left" style="width: 35%">
                                            <asp:DropDownList ID="drpHPYS" runat="server">
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 15%">车辆号码</td>
                                        <td align="left" style="width: 35%">
                                          <asp:TextBox ID="txtHPHMStart" runat="server" Width="30px" CssClass="csstextbox toUpper" Text=""></asp:TextBox><asp:TextBox ID="txtHPHM" runat="server" CssClass="csstextbox toUpper" Width="100px" TabIndex="1"></asp:TextBox><span style="color: red">*</span>
                                            </td>
                                        <td align="right" style="width: 15%">号牌种类</td>
                                        <td align="left" style="width: 35%">
                                            <asp:DropDownList runat="server" ID="drpHPZL"></asp:DropDownList>
                                        </td>
                                    </tr>
                                     <tr>
                                        <td align="right">VIN</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtVIN" runat="server" CssClass="csstextbox toUpper" TabIndex="2"></asp:TextBox><span style="color: red">*</span></td>
                                         <td align="right">
                                            <asp:CheckBox runat="server" ID="chkSFLW" Text="是否联网" />
                                        </td>
                                        <td align="left">
                                            <asp:Button ID="btnSearch" runat="server" Text="" CssClass="btnSearch" OnClick="btnSearch_Click" />
                                        </td>
                                    </tr>
                                    <thead>
                                        <tr class="tfNiceTable_head_style">
                                            <td colspan="4" align="left">★基础信息</td>
                                        </tr>
                                    </thead>
                                    <tr>
                                        <td align="right" style="width: 8%">车辆种类</td>
                                        <td align="left" style="width: 25%">
                                            <asp:DropDownList ID="drpCLZL" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpCLZL_SelectedIndexChanged">
                                            </asp:DropDownList>
                                             &nbsp;<span style="color: red">*</span>
                                        </td>
                                        <td align="right">车主姓名</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtOwner" runat="server" CssClass="csstextbox" Width="300px" TabIndex="3"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">车主住址</td>
                                        <td align="left" >
                                            <asp:TextBox ID="txtAddress" runat="server" CssClass="csstextbox" Width="300px" TabIndex="4"></asp:TextBox><span style="color: red">*</span></td>
                                         <td align="right">车主电话</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtPhone" runat="server" CssClass="csstextbox" TabIndex="5"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                           <td align="right" style="width: 8%">品牌</td>
                                        <td align="left" style="width: 35%">
                                            <asp:TextBox ID="txtPP" runat="server" CssClass="csstextbox" TabIndex="6"></asp:TextBox><span style="color: red">*</span>
                                            型号<asp:TextBox ID="txtXH" runat="server" CssClass="csstextbox" TabIndex="7"></asp:TextBox>
                                            <span style="color: red">*</span><asp:LinkButton runat="server" ID="btnSearchPPXH" Text="查询" OnClick="btnSearchPPXH_Click" ></asp:LinkButton></td>
                                        </td>
                                        <td align="right">发动机型号</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtFDJXH" runat="server" CssClass="csstextbox toUpper" TabIndex="8"></asp:TextBox><span style="color: red">*</span>
                                            <asp:LinkButton runat="server" ID="btnSearchFDJXH" Text="查询" OnClick="btnSearchFDJXH_Click" ></asp:LinkButton>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 8%">生产厂</td>
                                        <td align="left" colspan="3">
                                            <asp:TextBox ID="txtSCC" runat="server" CssClass="csstextbox" Width="500px" TabIndex="9"></asp:TextBox>
                                        </td>
                                    </tr>
                                     <tr>
                                        <td align="right">燃油种类/牌号</td>
                                        <td align="left">
                                            <asp:DropDownList ID="drpRYZL" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpRYZL_SelectedIndexChanged">
                                            </asp:DropDownList>
                                            <asp:DropDownList ID="drpPH" runat="server">
                                            </asp:DropDownList>
                                        </td>
                                        <td align="right">挡位数</td>
                                        <td align="left">
                                             <asp:TextBox ID="txtDWS" runat="server" CssClass="csstextbox" Text="5" TabIndex="10"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>

                                        <td align="right">整备质量</td>
                                        <td align="left" class="auto-style4">
                                            <asp:TextBox ID="txtZBZL" runat="server" CssClass="csstextbox" TabIndex="11"></asp:TextBox><span style="color: red">*</span>kg
                                        </td>
                                        <td align="right">总质量</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtZZL" runat="server" CssClass="csstextbox" TabIndex="12"></asp:TextBox><span style="color: red">*</span>kg
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">载客人数</td>
                                        <td align="left">
                                            <asp:TextBox runat="server" ID="txtHZRS" CssClass="csstextbox" TabIndex="13"></asp:TextBox><span style="color: red">*</span></td>
                                       <td align="right">厂牌名称</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtCPMC" runat="server" CssClass="csstextbox" TabIndex="14"></asp:TextBox><span style="color: red">*</span>
                                        </td>  
                                        </tr>
                                     <tr>                            
                                            <td align="right">登记日期</td>
                                            <td align="left" class="auto-style4">
                                                <asp:TextBox ID="txtDJRQ" runat="server" CssClass="csstextbox" onclick="InitData('#txtDJRQ')" TabIndex="15"></asp:TextBox><span style="color: red">*</span>
                                            </td>
                                            <td align="right">生产日期</td>
                                            <td align="left">
                                                <asp:TextBox ID="txtSCRQ" runat="server" CssClass="csstextbox" onclick="InitData('#txtSCRQ')" TabIndex="16"></asp:TextBox><span style="color: red">*</span>
                                            </td>
                                    </tr>
                                    <tr>
                                        <td align="right">发动机号</td>
                                        <td align="left" class="auto-style4">
                                            <asp:TextBox ID="txtFDJH" runat="server" CssClass="csstextbox toUpper" TabIndex="17"></asp:TextBox>
                                        </td>
                                        <td align="right">使用性质</td>
                                        <td align="left">
                                            <asp:DropDownList ID="drpSYXZ" runat="server">
                                            </asp:DropDownList><span style="color: red">*</span>
                                    </tr>
                                    <tr>
                                        <td align="right">驱动方式</td>
                                        <td align="left">
                                            <asp:DropDownList ID="drpQDFS" runat="server" AutoPostBack="True" OnSelectedIndexChanged="drpQDFS_SelectedIndexChanged" Height="19px">
                                            </asp:DropDownList>
                                            <td align="right">进气方式</td>
                                            <td align="left" class="auto-style4">
                                                <asp:DropDownList ID="drpJQFS" runat="server">
                                                </asp:DropDownList><span style="color: red">*</span>
                                            </td>
                                            </tr>
                                             <tr>
                                            <td align="right">供油方式</td>
                                            <td align="left">
                                                <asp:DropDownList ID="drpGYFS" runat="server">
                                                </asp:DropDownList>
                                            </td>
                                                                <td align="right">排气后处理装置</td>
                                        <td align="left">
                                            <asp:DropDownList ID="drpPQHCLZZ" runat="server">
                                            </asp:DropDownList><span style="color: red">*</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">驱动轴位置</td>
                                        <td align="left">
                                            <asp:CheckBoxList ID="chkQDZWZ" runat="server" CssClass="noborder"  RepeatDirection="Horizontal" OnSelectedIndexChanged="chkQDZWZ_SelectedIndexChanged">
                                            </asp:CheckBoxList></td>
                                        <td align="right">气缸数/排量</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtQGS" runat="server" CssClass="csstextbox" Width="30px" TabIndex="18">
                                            </asp:TextBox><span style="color: red">*</span>
                                            <asp:TextBox ID="txtPL" runat="server" CssClass="csstextbox" TabIndex="19"></asp:TextBox><span style="color: red">*</span>ml</td>
                                    </tr>
                                    <tr>
                                        <td align="right">变速器型式</td>
                                        <td align="left">
                                            <asp:DropDownList ID="drpBSQXS" runat="server">
                                            </asp:DropDownList>
                                        </td>
                                        <td align="right">催化转化器</td>
                                        <td align="left" class="auto-style4">
                                            <asp:DropDownList ID="drpCHZHQ" runat="server">
                                            </asp:DropDownList><span style="color: red">*</span>
                                        </td>

                                    </tr>
                                    <tr>
                                        <td align="right">额定功率</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtEDGL" runat="server" CssClass="csstextbox" TabIndex="20"></asp:TextBox><span style="color: red">*</span>kW
                                        </td>

                                        <td align="right">额定转速</td>
                                        <td align="left" class="auto-style4">
                                            <asp:TextBox ID="txtEDNJZS" runat="server" CssClass="csstextbox" TabIndex="21"></asp:TextBox><span style="color: red">*</span>r/min
                                        </td>

                                    </tr>
                                    <tr>
                                        <td align="right">单车轴重</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtDCZZ" runat="server" CssClass="csstextbox" Height="25px" TabIndex="22"></asp:TextBox><span>kg</span>
                                        </td>
                                        <td align="right">轮胎气压</td>
                                        <td align="left" class="auto-style4">
                                            <asp:TextBox ID="txtLTQY" runat="server" CssClass="csstextbox" TabIndex="23"></asp:TextBox><span>KPa</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">里程表读数</td>
                                        <td align="left">
                                            <asp:TextBox ID="txtLCBDS" runat="server" CssClass="csstextbox" TabIndex="24"></asp:TextBox>km
                                        </td>
                                        <td align="right">使用情况</td>
                                        <td align="left" class="auto-style4">
                                                <asp:DropDownList runat="server" ID="drpSYQK"></asp:DropDownList><span style="color: red">*</span></td>
                                    </tr>
                                    <tr>
                                        <td align="right" style="width: 15%">当前检测形式</td>
                                        <td align="left" style="width: 35%" colspan="3">
                                            <div style="float:left">
                                                <div style="float:left">
                                            <asp:RadioButtonList runat="server" ID="rbtnTest" RepeatDirection="Horizontal"  CssClass="noborder">
                                                <asp:ListItem Text="初检" Value="0" Selected="True"></asp:ListItem>
                                                 <asp:ListItem Text="复检" Value="1"></asp:ListItem>
                                            </asp:RadioButtonList></div>
                                            <div style="float:left;vertical-align:middle; line-height:20px;">&nbsp;&nbsp;检测次数:<asp:Label runat="server" ID="lblJCCS" Text="0"></asp:Label></div>
                                                </div>
                                             </td>
                                    </tr>
                                    <thead>
                                        <tr class="tfNiceTable_head_style">
                                            <td colspan="4" align="left">★检测方法
                                                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:LinkButton ID="btnFilter" runat="server" Text="筛选" OnClick="btnFilter_Click"></asp:LinkButton>
                                            </td>
                                        </tr>
                                    </thead>
                                    <tr>
                                        <td align="right">检测方法</td>
                                        <td align="left" colspan="3" id="tdJYXM" class="noborder">
                                            <asp:RadioButtonList runat="server" ID="rbtnJCFF" RepeatDirection="Horizontal"></asp:RadioButtonList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="center" colspan="4">
                                            <asp:Button runat="server" ID="btnSave" CssClass="btnSaveEnabled" OnClick="btnSave_Click" Text="" />&nbsp;&nbsp;&nbsp;
                                     <asp:Button runat="server" ID="btnSend" Enabled="false" Text="" CssClass="btnSendDisabled" OnClick="btnSend_Click" />&nbsp;&nbsp;&nbsp;
                                     <asp:Button runat="server" ID="btnReset" Text="" CssClass="btnResetEnabled" OnClick="btnReset_Click" />
                                        </td>
                                    </tr>
                                    <tr>
                                           <td colspan="4" align="right">
                                               <asp:LinkButton runat="server" ID="lbtnLoginedShow" Text="展 开︾" OnClick="lbtnLoginedShow_Click"></asp:LinkButton>
                                           </td>
                                       </tr>
                                    <div id="divLoginList" runat="server" visible="false">
                                       <tr>
                                           <td colspan="4">
                                               <uc1:LoginedList ID="LoginedList1"  runat="server" />
                                           </td>
                                       </tr>
                                    </div>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                </table>
            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
</body>
</html>
<script type="text/javascript" src="../support/jedate/jedate.min.js"></script>
<script type="text/javascript" src="../script/Login.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
        GetData("txtHPHMStart", "txtHPHM", "drpHPZL");
        GetPP("txtPP", "txtXH");
        GetXH("txtPP", "txtXH");
        GetFDJXH("txtPP", "txtXH", "txtFDJXH");

        $('#txtHPHM').on('input on', function () {
            GetData("txtHPHMStart", "txtHPHM", "drpHPZL");
        });

        $('#txtPP').on('input on', function () {
            GetPP("txtPP", "txtXH");
        });

        $('#txtXH').on('input on', function () {
            GetXH("txtPP", "txtXH");
        });

        $('#txtFDJXH').on('input on', function () {
            GetFDJXH("txtPP", "txtXH", "txtFDJXH");
        });

    });

    var prm = Sys.WebForms.PageRequestManager.getInstance();
    prm.add_endRequest(function () {
        GetData("txtHPHMStart", "txtHPHM", "drpHPZL");
        GetPP("txtPP", "txtXH");
        GetXH("txtPP", "txtXH");
        GetFDJXH("txtPP", "txtXH", "txtFDJXH");

        $('#txtHPHM').on('input on', function () {
            GetData("txtHPHMStart", "txtHPHM", "drpHPZL");
        });

        $('#txtPP').on('input on', function () {
            GetPP("txtPP", "txtXH");
        });

        $('#txtXH').on('input on', function () {
            GetXH("txtPP", "txtXH");
        });

        $('#txtFDJXH').on('input on', function () {
            GetFDJXH("txtPP", "txtXH", "txtFDJXH");
        });
  
    });
</script>
